local j=2 local d=80 local a=game:GetService("Debris") local _=game:GetService("RunService") local _=owner local function c(_)local a=Instance.new(_[1]) table.foreach(_,function(b,_)if b~=1 then a[b]=_ end end) return a end local function b()local b=c{"Tool",Name="Parachute",ToolTip="Click to equip as an accessory.",Parent=_.Backpack} local l=c{"Part",Name="Handle",BrickColor=BrickColor.Black(),Locked=true,Size=Vector3.new(1.5,2,1),CanCollide=false,Massless=true,Parent=b} local i=c{"SpecialMesh",MeshId="http://www.roblox.com/asset/?id=85027479",Scale=Vector3.new(1.2,1.2,1.2),TextureId="http://www.roblox.com/asset/?id=85027535",VertexColor=Vector3.new(.1,.3,.1),Parent=l} local function _()local k=c{"Accessory",Name="Parachute"} l.Parent=k a:AddItem(b,0) local f=c{"ProximityPrompt",ActionText="",HoldDuration=0.1,RequiresLineOfSight=false,Parent=l} local g=c{"ProximityPrompt",ActionText="",KeyboardKeyCode=Enum.KeyCode.F,GamepadKeyCode=Enum.KeyCode.ButtonY,Enabled=false,HoldDuration=5,RequiresLineOfSight=false,Parent=l} local _=c{"Attachment",Name="BodyBackAttachment",Position=Vector3.new(0,0,-0.5),Parent=l} local a=c{"Sound",Name="Open Sound",PlaybackSpeed=0.5,RollOffMaxDistance=30,RollOffMinDistance=20,SoundId="rbxassetid://9114741844",Volume=10,Parent=l} local h=c{"Sound",Name="Parachute Sound",Looped=true,PlaybackSpeed=0.25,RollOffMaxDistance=30,RollOffMinDistance=20,SoundId="rbxassetid://9118835584",Volume=5,Parent=l} local c=c{"BodyVelocity",Name="Drag",MaxForce=Vector3.new(j,d,j),Velocity=Vector3.new(0,0,0),Parent=l} b.Parent.Humanoid:AddAccessory(k) local e=false local function _(_)if _.Character==k.Parent then i.MeshId="http://www.roblox.com/asset/?id=85027479" i.TextureId="http://www.roblox.com/asset/?id=85027535" e=false f.Enabled=true g.Enabled=false end end local function b(_)if _.Character==k.Parent then a:Play() h:Play() i.MeshId="http://www.roblox.com/asset/?id=85027689" i.TextureId="http://www.roblox.com/asset/?id=85027535" e=true f.Enabled=false g.Enabled=true end end coroutine.wrap(function()while k.Parent do task.wait() if e then c.MaxForce=Vector3.new(j*math.abs(l.Velocity.X),d*math.abs(l.Velocity.Y),j*math.abs(l.Velocity.Z)) h.Volume=l.Velocity.Magnitude/2 else c.MaxForce=Vector3.zero h.Volume=0 end end end)() f.Triggered:Connect(b) g.Triggered:Connect(_)end b.Activated:Connect(_)end b()